package com.attendcollatesys;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.extern.slf4j.Slf4j;

import java.time.LocalDate;
import java.time.format.DateTimeFormatter;

@Slf4j
public class Codetemp {

    public static void main(String[] args) {
        String a = "yyyyMMdd";
        System.out.println(a.substring(0,6));
        LocalDate startDate = LocalDate.parse("2023-09-01") ;
        startDate= startDate.plusDays(1);
        DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");
        System.out.println(formatter.format(startDate));
        try{
            try {




            } catch (Exception e) {




            }




        }catch (Exception e){

        }

    }


    public int  recur(int num){
       if(num<0)
           return 1;
       else
           return (2*recur(num-1))+(2*recur(num-2));
    }
}
